home *** CD-ROM | disk | FTP | other *** search
/ The Complete Utilities To…ka 501 Killer Utilities! / 501 Killer Utilities! (Macworld July 1995).cdr / Programming / OutOfPhase1.1 Source / OutOfPhase Folder / FilterArray.h < prev    next >
Encoding:
C/C++ Source or Header  |  1995-01-03  |  1.3 KB  |  51 lines  |  [TEXT/KAHL]

  1. /* FilterArray.h */
  2.  
  3. #ifndef Included_FilterArray_h
  4. #define Included_FilterArray_h
  5.  
  6. /* FilterArray module depends on */
  7. /* MiscInfo.h */
  8. /* Audit */
  9. /* Debug */
  10. /* Definitions */
  11. /* Memory */
  12. /* FixedPoint */
  13. /* FilterSpec */
  14. /* FilterFirstOrderLowpass */
  15. /* FilterFirstOrderHighpass */
  16. /* FilterSecondOrderReson */
  17. /* FilterSecondOrderZero */
  18. /* FilterButterworthLowpass */
  19. /* FilterButterworthHighpass */
  20. /* FilterButterworthBandpass */
  21. /* FilterButterworthBandreject */
  22. /* FilterNull */
  23.  
  24. #include "FixedPoint.h"
  25.  
  26. struct FilterArrayRec;
  27. typedef struct FilterArrayRec FilterArrayRec;
  28.  
  29. /* forwards */
  30. struct FilterSpecRec;
  31.  
  32. /* flush cached filter array records */
  33. void                            FlushCachedFilterArrayStuff(void);
  34.  
  35. /* create a new parallel filter processor */
  36. FilterArrayRec*        NewFilterArrayProcessor(struct FilterSpecRec* Template,
  37.                                         long FramesPerSecond, MyBoolean StereoFlag);
  38.  
  39. /* dispose of the filter processor */
  40. void                            DisposeFilterArrayProcessor(FilterArrayRec* Filters);
  41.  
  42. /* update filter state with accent information */
  43. void                            UpdateFilterArrayState(FilterArrayRec* Filters, float Accent1,
  44.                                         float Accent2, float Accent3, float Accent4);
  45.  
  46. /* apply filter processing to some stuff */
  47. void                            ApplyFilterArray(largefixedsigned* Data, long NumFrames,
  48.                                         FilterArrayRec* Filters);
  49.  
  50. #endif
  51.